FROM openjdk:17-jdk-alpine
ADD ./target/microservice-demo.jar microservice-demo.jar
EXPOSE 8080
ENTRYPOINT [ "sh", "-c", "java -Xms512m -Xmx512m -Xmn256m -XX:-OmitStackTraceInFastThrow -Duser.timezone=Asia/Shanghai -jar microservice-demo.jar" ]